import Layout from '../views/layout/Layout'
const _import = require('./_import_' + process.env.NODE_ENV)

const PayMenu = {
  path: '/pay',
  component: Layout,
  name: '支付模块',
  meta: {
    title: '支付模块',
    icon: 'chart'
  },
  icon: 'chart',
  authority: 'pay',
  children: [
    {
      path: 'channel',
      component: _import('pay/channel'),
      name: '支付通道',
      meta: {
        title: '支付通道',
        icon: 'tab'
      },
      authority: 'channel'
    },{
      path: 'channelFee',
      component: _import('pay/channelFee'),
      name: '支付费率',
      meta: {
        title: '支付费率',
        icon: 'tab'
      },
      authority: 'channelFee'
    }]
}

export default PayMenu
